/**
 * Copyright(C): CETC-32
 * @Description: 数据管理目录接口
 * @author: youqing
 * @version: 1.0
 * @date: 2020/9/11 10:55
 * 更改描述：
 */
package com.cetc32.dh.service;

import com.cetc32.dh.dto.DataMenuDTO;
import com.cetc32.dh.entity.DataFile;
import com.cetc32.dh.entity.DataMenu;
import java.util.List;

/**
 * @Title: DataMenuService
 * @Description:
 * @author: youqing
 * @version: 1.0
 * @date: 2020/11/13 11:19
 */
public interface DataMenuService {

    public Integer count();

    public Integer insertDataMenu(DataMenu dataMenu);

    public DataMenu queryById(Long id);

    public  Integer deleteById(Long id);

    public DataMenu queryByPid(Long pid);

    public List<DataMenu> queryByPIdSatisfyId(Long id);

    public Integer updatebyId(DataMenu dataMenu);

    public DataMenuDTO getMenuTree(Long id);

    public Integer deleteMenuTree(Long id);

    public String addDataMenu(DataMenu dataMenu );

    public List<DataMenu>  selectAll();

    public List<DataFile> showFilesByMenuId(Long menuId);

}
